package com.vooda.business_admin.service;


import com.vooda.business_admin.common.ReqDataTableDto;
import com.vooda.business_admin.common.RspDataTableDto;
import com.vooda.business_admin.entity.HomePage;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

public interface HomePageService {

    int deleteByPrimaryKey(Long id);

    int insertSelective(HomePage record);

    HomePage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HomePage record);

    RspDataTableDto<HomePage> findHomePageList(ReqDataTableDto reqDataTableDto,String status);

    String saveHomePage(HomePage homePage,  MultipartFile image);

    /**
     * 修改图片
     * @param imageUpload
     * @param id
     */
    void updateImage(MultipartFile imageUpload ,Long id);

    /**
     * 修改图片
     * @param id
     */
    void modifyStatus(Long id);
}
